
function switchTab(btn, page) {
    document.querySelectorAll('.btn-tab').forEach(b => b.classList.remove('active'));
    btn.classList.add('active');
    document.getElementById('pageFrame').src = page;
}
function exitLogin() {
    localStorage.removeItem('isLogin');
    location.href = 'index.html';
}


switchTab(document.querySelector('.btn-tab.active'), 'myWallet.html');
